/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.system.entity;

import com.thinkgem.jeesite.modules.sys.entity.Office;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 短信模板Entity
 * @author jyangye
 * @version 2018-03-06
 */
public class SmsTemplate extends DataEntity<SmsTemplate> {
	
	private static final long serialVersionUID = 1L;
	private Office comp;		// 组织机构
	private String invite;		// 应聘邀约
	private String first;		// 初试通知
	private String fstz;		// 复试通知
	private String fsstz;		// 二次复试通知
	private String tjtz;		// 体检通知
	private String induty;		// 入职办理通知

    private String msg;
    private String tempMsg;
	
	public SmsTemplate() {
		super();
	}

	public SmsTemplate(String id){
		super(id);
	}

	@ExcelField(title="组织机构", align=2, sort=20)
	public Office getComp() {
		return comp;
	}

	public void setComp(Office comp) {
		this.comp = comp;
	}
	
	@Length(min=0, max=1024, message="应聘邀约长度必须介于 0 和 1024 之间")
	@ExcelField(title="应聘邀约", align=2, sort=30)
	public String getInvite() {
		return invite;
	}

	public void setInvite(String invite) {
		this.invite = invite;
	}
	
	@Length(min=0, max=1024, message="初试通知长度必须介于 0 和 1024 之间")
	@ExcelField(title="初试通知", align=2, sort=40)
	public String getFirst() {
		return first;
	}

	public void setFirst(String first) {
		this.first = first;
	}
	
	@Length(min=0, max=1024, message="复试通知长度必须介于 0 和 1024 之间")
	@ExcelField(title="复试通知", align=2, sort=50)
	public String getFstz() {
		return fstz;
	}

	public void setFstz(String fstz) {
		this.fstz = fstz;
	}
	
	@Length(min=0, max=1024, message="二次复试通知长度必须介于 0 和 1024 之间")
	@ExcelField(title="二次复试通知", align=2, sort=60)
	public String getFsstz() {
		return fsstz;
	}

	public void setFsstz(String fsstz) {
		this.fsstz = fsstz;
	}
	
	@Length(min=0, max=1024, message="体检通知长度必须介于 0 和 1024 之间")
	@ExcelField(title="体检通知", align=2, sort=70)
	public String getTjtz() {
		return tjtz;
	}

	public void setTjtz(String tjtz) {
		this.tjtz = tjtz;
	}
	
	@Length(min=0, max=1024, message="入职办理通知长度必须介于 0 和 1024 之间")
	@ExcelField(title="入职办理通知", align=2, sort=80)
	public String getInduty() {
		return induty;
	}

	public void setInduty(String induty) {
		this.induty = induty;
	}


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTempMsg() {
        return tempMsg;
    }

    public void setTempMsg(String tempMsg) {
        this.tempMsg = tempMsg;
    }
}